English Adverb as luck would have it
#idiom As it happened; how it turn out|turned out; by good fortune; fortunately or luckily. #:I didn't plan to stop there, but as luck would have it, they were open when I went by.